package com.example.base.http

import com.example.base.entity.NoticeEntity
import com.example.base.entity.Res
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query


interface ApiServer {
    @GET("/api/announcements")
    fun getNotices(@Query("page") page : Int, @Query("size")size : Int): Flow<Res<NoticeEntity>>
}